<?php
/**
 * User Permission Authority Interface
 * Interface defines the functions needed to evaluate permissions for a given user
 * 
 * 
 * @author Alton Crossley <crossleyframework@nogahidebootstrap.com>
 * @package Crossley Framework
 *  
 * @copyright Copyright (c) 2003-2009, Nogaide BootStrap INC. All rights reserved.
 * @license BSD http://opensource.org/licenses/bsd-license.php
 * @version $Id:$
 * 
 */
interface X_User_Permission_Authority_Interface
{
    /**
     * used to check user's access to a subject
     *
     * @param string $sSubjectUri
     * @param string $sDetail
     */
    public function isPermitted(X_User_Interface $oUser, $sSubjectUri, $sDetail = null);
}